﻿using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CJCMS.Contracts.DTO.Supplier
{
    public class SupplierInfo
    {
        [NotNullValidator]
        public string Id { get; set; }
        [NotNullValidator]
        public string SupplierName { get; set; }
        [NotNullValidator]
        public string ContactName { get; set; }
        public string SupplierPhomeNum { get; set; }
        public string SupplierQQ { get; set; }
        public string SupplierFaxNum { get; set; }
        public string SupplierAddress { get; set; }
        public string SupplierZipCode { get; set; }
        public string SupplierEmail { get; set; }
        [NotNullValidator]
        public decimal SupplierInitOwing { get; set; }
        [NotNullValidator]
        public decimal SupplierNowOwing { get; set; }
        [NotNullValidator]
        public DateTime Created { get; set; }
        [NotNullValidator]
        public int Status { get; set; }
        public string OtherInfo { get; set; }
    }
}
